import http from "@/utils/requset";
import type { LoginParams } from "./types";

export const userlogin = (data: LoginParams) => {
  return http.post<string, LoginParams>("/user/login", data);
};
